function v = covlogdet(mdl)
%COVLOGDET Gets the log-determinant of the covariance matrix
%
% [ Syntax ]
%   - v = covlogdet(mdl)
%
% [ History ]
%   - Created by Dahua Lin, on Dec 23, 2007
%

if ~isempty(mdl.ldsm)
    v = mdl.ldsm;
else
    v = sllogdet(mdl.sigma);
end
